package com.kyxx.topics.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/10/10.
 */
public class TopicBean {

    /**
     * id : 3
     * title : 专注路过1000年
     * thumb : 6
     * demo : 专注路过1000年的投稿
     * status : null
     * addtime : 1475724883
     * disorder : 0
     * tag : 文章
     * position : 0
     * cid : 1
     * doc : [{"id":"20","title":"唐朝宰相杨国忠出差数月 妻子却怀孕了","sid":"3","aid":"13","demo":"","imgurl":"/Uploads/Picture/2016-10-06/57f5bc3e5184a.jpg"},{"id":"19","title":"耍猴人抱小猴卖萌 女游客合影遭袭胸","sid":"3","aid":"11","demo":"","imgurl":"/Uploads/Picture/2016-10-06/57f5bbc662338.jpg"},{"id":"18","title":"女同性恋抛妻夺女，与捐精男子私奔","sid":"3","aid":"10","demo":"","imgurl":"/Uploads/Picture/2016-10-06/57f5bb76c1a88.jpg"},{"id":"17","title":"一日游&quot;导游&quot;现雷语:十三陵有灵异事件不宜下车","sid":"3","aid":"12","demo":"","imgurl":"/Uploads/Picture/2016-10-06/57f5bbfc5700f.jpg"}]
     * imgurl : {"id":"6","path":"/Uploads/Picture/2016-10-06/57f5b2b41b52a.jpg","url":"","md5":"572744605f5a5d52da9b47c1fd30678e","sha1":"00de7c2a55aafa4acc39710c99ef42ab9809f76a","status":"1","create_time":"1475719860"}
     */

    private String id;
    private String title;
    private String thumb;
    private String demo;
    private Object status;
    private String addtime;
    private String disorder;
    private String tag;
    private String position;
    private String cid;
    /**
     * id : 6
     * path : /Uploads/Picture/2016-10-06/57f5b2b41b52a.jpg
     * url :
     * md5 : 572744605f5a5d52da9b47c1fd30678e
     * sha1 : 00de7c2a55aafa4acc39710c99ef42ab9809f76a
     * status : 1
     * create_time : 1475719860
     */

    private ImgurlBean imgurl=new ImgurlBean();
    /**
     * id : 20
     * title : 唐朝宰相杨国忠出差数月 妻子却怀孕了
     * sid : 3
     * aid : 13
     * demo :
     * imgurl : /Uploads/Picture/2016-10-06/57f5bc3e5184a.jpg
     */

    private List<DocBean> doc = new ArrayList<>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }

    public String getDemo() {
        return demo;
    }

    public void setDemo(String demo) {
        this.demo = demo;
    }

    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getDisorder() {
        return disorder;
    }

    public void setDisorder(String disorder) {
        this.disorder = disorder;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public ImgurlBean getImgurl() {
        return imgurl;
    }

    public void setImgurl(ImgurlBean imgurl) {
        this.imgurl = imgurl;
    }

    public List<DocBean> getDoc() {
        return doc;
    }

    public void setDoc(List<DocBean> doc) {
        this.doc = doc;
    }

    public static class ImgurlBean {
        private String id;
        private String path;
        private String url;
        private String md5;
        private String sha1;
        private String status;
        private String create_time;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getMd5() {
            return md5;
        }

        public void setMd5(String md5) {
            this.md5 = md5;
        }

        public String getSha1() {
            return sha1;
        }

        public void setSha1(String sha1) {
            this.sha1 = sha1;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }
    }

    public static class DocBean {
        private String id;
        private String title;
        private String sid;
        private String aid;
        private String demo;
        private String imgurl;
        private String addtime;
        private String comment;
        private String view;

        public String getView() {
            return view;
        }

        public void setView(String view) {
            this.view = view;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getSid() {
            return sid;
        }

        public void setSid(String sid) {
            this.sid = sid;
        }

        public String getAid() {
            return aid;
        }

        public void setAid(String aid) {
            this.aid = aid;
        }

        public String getDemo() {
            return demo;
        }

        public void setDemo(String demo) {
            this.demo = demo;
        }

        public String getImgurl() {
            return imgurl;
        }

        public void setImgurl(String imgurl) {
            this.imgurl = imgurl;
        }
    }
}
